package com.example.helloworld

import kotlin.math.max

fun main() {
    val list = listOf("Apple", "Banana", "Pear", "Grape", "Watermelon")
    val list2 = list.map {it.uppercase()}
    for (fruit in list2) {
        println(fruit)
    }
}